package ws.performancetest.tests.synchronization.db;

import java.sql.SQLException;

/**
 * This interface provides a service to write the current test results
 * information held in memory to the database.
 * 
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public interface IDBWriter {

  /**
   * Write the test results to the database.
   * 
   * @throws SQLException
   */
  void writeTestResultsToBD() throws SQLException ;
  /**
   * Set the id of the pair (TestGroup, Host) that owns this results.
   * 
   * @param testGroup_Host id of the pair (TestGroup, Host)
   */
  void setResultsOwner(int testGroup_Host);
}
